package com.ruoyi.flow.flow.identity.activiti.repository;

import com.ruoyi.flow.flow.identity.activiti.entity.FlowDept;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author wtian
 * @version 1.0
 * @since 2018/9/5 13:50
 */
public interface FlowDeptRepository extends JpaRepository<FlowDept, Integer> {
    public FlowDept findById(String id);

    public FlowDept findByName(String name);

    public List<FlowDept> findByNameLike(String name);
}
